package 草稿包;

import java.util.Scanner;

public class Test8 {
    public static void Swap(int[] a,int[] b){
        int tmp=a[0];
        a[0]=b[0];
        b[0]=tmp;
    }
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a,b,c;
            a=sc.nextInt();
            b=sc.nextInt();
            c=sc.nextInt();
            if(a>b){
                int[] c1={a};
                int[] c2={b};
                Swap(c1,c2);
                a=c1[0];
                b=c2[0];
            }
            if(a>c){
                int[] c1={a};
                int[] c2={c};
                Swap(c1,c2);
                a=c1[0];
                c=c2[0];
            }
            if(b>c){
                int[] c1={b};
                int[] c2={c};
                Swap(c1,c2);
                b=c1[0];
                c=c2[0];
            }
            System.out.println(a+" "+b+" "+c);
    }
}
